package com.google.code.sapwcrawler.download.cycle;

public class SingleThreadDownloadCycle extends DownloadCycle
{
	@Override
	public void run()
	{
		while(!getQueue().isEmpty())
		{
			try
			{
				getDownloadProc().download(getQueue().poll());
			}
			catch(Exception e)
			{
				handleException(e);
			}
		}
	}
}
